
public class CallByReference {
	int id=50;
	public void change(CallByReference cr){
		cr.id=cr.id+300;
	}
public static void main(String[] args) {
	CallByReference ref=new CallByReference();
	System.out.println("Before Change : "+ref.id);
	ref.change(ref);
	System.out.println("After Change : "+ref.id);
}
}
